package com.yyq.adms.yyb.advance.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BaseEntity;

/**
 * 科技进步  科研报告
 * @author 杨应滨
 * @2012-12-7
 *
 */
@Entity
@Table(name="streport")
public class STReport extends BaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 名称
	 */
	private String reportName;
	
	
	/**
	 * 提交时间
	 */
	private Date submitDate;

	/**
	 * 所属平台ID
	 */
	private String belongPlateFormID;

	/**
	 * 报送单位
	 */
	//private String sentDep;


	/**
	 * 是否全局可视
	 */
//	private Integer isGlobal;

	/**
	 * 是否有附件
	 */
//	private Integer isHavePatents;

	/**
	 * 是否可用
	 */
	private Integer isEnabled;

	/**
	 * 数据来源
	 */
//	private Integer sourceID;

	/**
	 * 是否提交给总部
	 */
	/*private Integer isSubmitTop;*/

	/**
	 * years 年度
	 */
	private String belongYear;

	/**
	 * 批注
	 */
	private String endorse;
	
	
	/**
	 * 单位名称
	 */
	private String sentDepName;
	
	public STReport() {
		super();
	}

	public STReport(String reportName, Date submitDate,
			String belongPlateFormID,  Integer isEnabled,
			 String belongYear) {
		super();
		this.reportName = reportName;
		this.submitDate = submitDate;
		this.belongPlateFormID = belongPlateFormID;
		//this.sentDep = sentDep;
//		this.isGlobal = isGlobal;
//		this.isHavePatents = isHavePatents;
		this.isEnabled = isEnabled;
//		this.sourceID = sourceID;
		/*this.isSubmitTop = isSubmitTop;*/
		this.belongYear = belongYear;
	}

	@Column(name="belongplateformid")
	public String getBelongPlateFormID() {
		return belongPlateFormID;
	}

	@Column(name="years")
	public String getBelongYear() {
		return belongYear;
	}

	@Column(name="isenabled")
	public Integer getIsEnabled() {
		return isEnabled;
	}
	
	

	
/*
	@Column(name="issubmittop")
	public Integer getIsSubmitTop() {
		return isSubmitTop;
	}*/


	/*@Transient
	public String getSentDep() {
		return sentDep;
	}

	public void setSentDep(String sentDep) {
		this.sentDep = sentDep;
	}*/

	@Column(name="reportname")
	public String getReportName() {
		return reportName;
	}

	
	@Column(name="submitdate")
	public Date getSubmitDate() {
		return submitDate;
	}

	public void setBelongPlateFormID(String belongPlateFormID) {
		this.belongPlateFormID = belongPlateFormID;
	}

	public void setBelongYear(String belongYear) {
		this.belongYear = belongYear;
	}

	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}

	
	/*public void setIsSubmitTop(Integer isSubmitTop) {
		this.isSubmitTop = isSubmitTop;
	}*/


	public void setReportName(String reportName) {
		this.reportName = reportName;
	}

	

	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}
	
	@Column(name="endorse")
	public String getEndorse() {
		return endorse;
	}

	public void setEndorse(String endorse) {
		this.endorse = endorse;
	}

	@Column(name="sentdepname")
	public String getSentDepName() {
		return sentDepName;
	}

	public void setSentDepName(String sentDepName) {
		this.sentDepName = sentDepName;
	}
	
}
